#include "ActionCardInstance.h"
#include "UnitCardInstance.h"

Card* getCard(int id)
{
	Card* card = NULL;
	switch (id)
	{
	case 1000009:
		card = new Swordsman();
		break;
	case 1000018:
		card = new Zombie();
		break;
	case 1000027:
		card = new Treant();
		break;
	case 1000036:
		card = new Calvery();
		break;
	case 1000054:
		card = new Spearman();
		break;
	case 1000063:
		card = new ArmorKnight();
		break;
	case 1000090:
		card = new Archer();
		break;
	case 1000207:
		card = new Dragon();
		break;
	case 2000008:
		card = new HealthPotion();
		break;
	case 2000017:
		card = new Lightning();
		break;
	case 2000026:
		card = new FireBall();
		break;
	case 2000035:
		card = new SpeedUpBoot();
		break;
	case 2000044:
		card = new Blizzard();
		break;
	case 2000053:
		card = new Patination();
		break;
	case 2000062:
		card = new RagePotion();
		break;
	case 2000071:
		card = new Stimulate();
		break;
	}
	return card;
}